import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/ums/umsMemberCard/list',
method: 'get',
params: params
})
}
export function createUmsMemberCard(data) {
return request({
url: '/ums/umsMemberCard/create',
method: 'post',
data: data
})
}

export function deleteUmsMemberCard(id) {
return request({
url: '/ums/umsMemberCard/delete/' + id,
method: 'get',
})
}

export function getUmsMemberCard(id) {
return request({
url: '/ums/umsMemberCard/' + id,
method: 'get',
})
}

export function updateUmsMemberCard(id, data) {
return request({
url: '/ums/umsMemberCard/update/' + id,
method: 'post',
data: data
})
}

